package com.itlong.cloud.property.service;

import com.itlong.cloud.POJO.DTO.operate.ParkingRecordPageDTO;
import com.itlong.cloud.POJO.DTO.property.ParkPlaceProjectInfoDTO;
import com.itlong.cloud.POJO.VO.property.PropertyTemporaryCarFeeRecordVO;
import com.itlong.cloud.utils.page.Page;

import java.util.List;

/**
 * <desc>
 *      物业-智慧停车-停车场出入记录接口.
 * </desc>
 *
 * @createDate 2018/11/5
 */
public interface IPropertyParkingPassRecordService {

    /**
     * <desc>
     *      停车场入场记录分页查询
     * <desc/>
     *
     * @param parkingRecordPageDTO 分页查询参数
     * @return 标准返回结果
     * @author Juguang.S
     * @createDate 2018/11/5
     */
    Page<PropertyTemporaryCarFeeRecordVO> getAdmissionRecordPage(ParkingRecordPageDTO parkingRecordPageDTO) throws Exception;

    /**
     * <desc>
     *      停车场出场记录分页查询
     * <desc/>
     *
     * @param parkingRecordPageDTO 分页查询参数
     * @return 标准返回结果
     * @author Juguang.S
     * @createDate 2018/11/5
     */
    Page<PropertyTemporaryCarFeeRecordVO> getAppearanceRecordPage(ParkingRecordPageDTO parkingRecordPageDTO) throws Exception;

    /**
     * <desc>
     *      获取当前开通了停车场的项目信息
     * </desc>
     *
     * @author Jiaqi.X
     * @createDate 2018/11/08
     */
    List<ParkPlaceProjectInfoDTO> getInStatusProjectIds();

    /**
     * <desc>
     *      获取项目下处于入场状态下的所有parkingId
     * </desc>
     *
     * @param projectId
     * @return
     * @author Jiaqi.X
     * @createDate 2018/11/08
     */
    List<String> getInStatusParkingIdByProjectId(String projectId);

    /**
     * <desc>
     *      获取项目下处于入场状态下的所有车牌号
     * </desc>
     *
     * @param projectId
     * @return
     * @createDate 2018/11/08
     * @author Jiaqi.X
     */
    List<String> getInPlantNoByProjectId(String projectId);

    /**
     * <desc>
     *      获取停车场key
     * </desc>
     *
     * @param projectId
     * @return
     * @author Jiaqi.X
     * @createDate  2018/11/08
     */
    String getParkingLotKey(String projectId);
}
